﻿cmake_minimum_required(VERSION 2.10)

project(WebSocketServer)

find_package(Qt5 REQUIRED COMPONENTS Core Widgets Network websockets)
set(CMAKE_AUTOMOC ON)

set(SRC 
    main.cpp
    WebSocketServer.cpp
    WebSocketServer.h)

add_executable(${PROJECT_NAME} ${SRC})

target_link_libraries(${PROJECT_NAME} Qt5::Core Qt5::Widgets Qt5::Network Qt5::WebSockets)